package main

import (
	"bufio"
	"fmt"
	"io"
	"os"
	"strings"
)

func main() {
	reader := bufio.NewReader(os.Stdin)
	for {
		data, err := reader.ReadBytes('\n')
		if err != nil && err == io.EOF {
			return
		}
		fmt.Println(strings.Trim(string(data), "\n"))
	}

}
